/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 * The entry point for the client.
 */

#include "PQClient.h"

using namespace PQClient;

#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT)
#else
int main(int argc, char **argv)
#endif
{
	Application::getSingleton().init(hInst);
	//process the cmd line
	Application::getSingleton().processCmdLine(strCmdLine);

	Application::getSingleton().setActiveScene(Scene_Type_Login);
	Application::getSingleton().run();
	
	return 0;

}
